#include <iostream>
#include <ctime>

using namespace std;

int main() {
    int num;
    int gussNum;
    srand(time(0));//确保随机数每一次运行时都不一样
    //随机生成a-b范围的数 rand()%（b-a+1)+a
    num = rand() % 100  + 1;
    do {
        scanf("%d", &gussNum);
        if (gussNum < num) {
            printf("Too small");
        }
        if (gussNum > num) {
            printf("Too large");
        }
    } while (num != gussNum);

    printf("You are right!!");
    return 0;
}
